package com.dreamtour.service;

import com.dreamtour.DTO.DailyTransactionDTO;
import com.dreamtour.entity.Transactions;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xls
 * @since 2024-12-24
 */
public interface ITransactionsService extends IService<Transactions> {
    List<DailyTransactionDTO> getDailyTransactionStats();
    Integer getTransactionCountByRange(int min, int max);
    Integer getTransactionCountAbove(int min);
    Map<Integer, Integer> getUserRatingStats();

}
